package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 制卡任务表
 * @author sun
 *
 */
public class CardTask implements Serializable {
    /** 制卡任务编号 */
    private String cardTaskNo;

    /** 任务名称 */
    private String taskName;

    /** 记录数量 */
    private Integer recordNum;

    /** 单位代码 */
    private String corpCode;

    /** 单位名称 */
    private String corpName;

    /** 任务状态 1.任务生成 2.交付银行 3银行返回 4.制卡中 5.已制卡 6.部分制卡 */
    private String taskStatus;

    /** 卡产品 */
    private String cardpCode;

    /** 卡类型代码 1.标准卡 2.记名衍生卡 3.非记名衍生卡 */
    private String cardTypecode;

//    /** 合作银行编号 来源于合作单位基本信息表的单位编号 */
//    private String copBankNo;
//    
//    /** 制卡厂商编号 来源于合作单位基本信息表的单位编号 */
//    private String supplierCode;
    
    /**
     * 合作单位的编号--银行或者制卡厂
     */
    private String companyNo;

    /** 任务执行方式 1.外包 2.本地 */
    private String taskPerType;

    /**  制作批次号 来源与卡制作批次表，卡商批次 */
    private String batchMarkerNo;

  

    /** 任务产生柜员号 */
    private String tasksOperator;

    /** 任务产生时间 */
    private Date tasksGeneTime;
    
    /** 任务产生时间String 类型 */
    private String tasksGeTime;

    /** 申领网点编号 */
    private String applyBranchNo;

    /** 申领网点名称 */
    private String applyBranch;

    /** 回退标志 */
    private String rollbackStatus;

    /** 回退日志流水号 */
    private String rollbackSn;

    /** 回退日期 */
    private Date rollbackDate;

    /** 是否加急 0.不加急 1.加急 */
    private String isUrgent;

    /** 备注 */
    private String remark;

    /** 任务类型 */
    private String taskType;
    
    //20180328 惠国磊  以下  行  增加
    /*1.cardDataLIST*/
    private List<CardControl> cardControlList;
    /*2.stockDetail*/
    private StockDetail stockDetail;
    /*3.cardDef*/
    private CardProdunctDefinition cardDefinition;
    //cardControlList
    private static final long serialVersionUID = 1L;
    /*4.cardDataLIST*/
    private List<CardData> cardDataList;
    
    

    
    

	public List<CardData> getCardDataList() {
		return cardDataList;
	}

	public void setCardDataList(List<CardData> cardDataList) {
		this.cardDataList = cardDataList;
	}

	public String getTasksGeTime() {
		return tasksGeTime;
	}

	public void setTasksGeTime(String tasksGeTime) {
		this.tasksGeTime = tasksGeTime;
	}

	public StockDetail getStockDetail() {
		return stockDetail;
	}

	public void setStockDetail(StockDetail stockDetail) {
		this.stockDetail = stockDetail;
	}

	public CardProdunctDefinition getCardDefinition() {
		return cardDefinition;
	}

	public void setCardDefinition(CardProdunctDefinition cardDefinition) {
		this.cardDefinition = cardDefinition;
	}

	public List<CardControl> getCardControlList() {
		return cardControlList;
	}

	public void setCardControlList(List<CardControl> cardControlList) {
		this.cardControlList = cardControlList;
	}

	public String getCardTaskNo() {
        return cardTaskNo;
    }

    public void setCardTaskNo(String cardTaskNo) {
        this.cardTaskNo = cardTaskNo == null ? null : cardTaskNo.trim();
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Integer getRecordNum() {
        return recordNum;
    }

    public void setRecordNum(Integer recordNum) {
        this.recordNum = recordNum;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode == null ? null : corpCode.trim();
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName == null ? null : corpName.trim();
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus == null ? null : taskStatus.trim();
    }

    public String getCardpCode() {
        return cardpCode;
    }

    public void setCardpCode(String cardpCode) {
        this.cardpCode = cardpCode == null ? null : cardpCode.trim();
    }

    public String getCardTypecode() {
        return cardTypecode;
    }

    public void setCardTypecode(String cardTypecode) {
        this.cardTypecode = cardTypecode == null ? null : cardTypecode.trim();
    }


    public String getTaskPerType() {
        return taskPerType;
    }

    public void setTaskPerType(String taskPerType) {
        this.taskPerType = taskPerType == null ? null : taskPerType.trim();
    }

    public String getBatchMarkerNo() {
        return batchMarkerNo;
    }

    public void setBatchMarkerNo(String batchMarkerNo) {
        this.batchMarkerNo = batchMarkerNo == null ? null : batchMarkerNo.trim();
    }


    public String getTasksOperator() {
        return tasksOperator;
    }

    public void setTasksOperator(String tasksOperator) {
        this.tasksOperator = tasksOperator == null ? null : tasksOperator.trim();
    }

    public Date getTasksGeneTime() {
        return tasksGeneTime;
    }

    public void setTasksGeneTime(Date tasksGeneTime) {
        this.tasksGeneTime = tasksGeneTime;
    }

    public String getApplyBranchNo() {
        return applyBranchNo;
    }

    public void setApplyBranchNo(String applyBranchNo) {
        this.applyBranchNo = applyBranchNo == null ? null : applyBranchNo.trim();
    }

    public String getApplyBranch() {
        return applyBranch;
    }

    public void setApplyBranch(String applyBranch) {
        this.applyBranch = applyBranch == null ? null : applyBranch.trim();
    }

    public String getRollbackStatus() {
        return rollbackStatus;
    }

    public void setRollbackStatus(String rollbackStatus) {
        this.rollbackStatus = rollbackStatus == null ? null : rollbackStatus.trim();
    }

    public String getRollbackSn() {
        return rollbackSn;
    }

    public void setRollbackSn(String rollbackSn) {
        this.rollbackSn = rollbackSn == null ? null : rollbackSn.trim();
    }

    public Date getRollbackDate() {
        return rollbackDate;
    }

    public void setRollbackDate(Date rollbackDate) {
        this.rollbackDate = rollbackDate;
    }

    public String getIsUrgent() {
        return isUrgent;
    }

    public void setIsUrgent(String isUrgent) {
        this.isUrgent = isUrgent == null ? null : isUrgent.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType == null ? null : taskType.trim();
    }
    
    

    public String getCompanyNo() {
		return companyNo;
	}

	public void setCompanyNo(String companyNo) {
		this.companyNo = companyNo;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cardTaskNo=").append(cardTaskNo);
        sb.append(", taskName=").append(taskName);
        sb.append(", recordNum=").append(recordNum);
        sb.append(", corpCode=").append(corpCode);
        sb.append(", corpName=").append(corpName);
        sb.append(", taskStatus=").append(taskStatus);
        sb.append(", cardpCode=").append(cardpCode);
        sb.append(", cardTypecode=").append(cardTypecode);
        sb.append(", taskPerType=").append(taskPerType);
        sb.append(", batchMarkerNo=").append(batchMarkerNo);
        sb.append(", tasksOperator=").append(tasksOperator);
        sb.append(", tasksGeneTime=").append(tasksGeneTime);
        sb.append(", tasksGeTime=").append(tasksGeTime);
        sb.append(", applyBranchNo=").append(applyBranchNo);
        sb.append(", applyBranch=").append(applyBranch);
        sb.append(", rollbackStatus=").append(rollbackStatus);
        sb.append(", rollbackSn=").append(rollbackSn);
        sb.append(", rollbackDate=").append(rollbackDate);
        sb.append(", isUrgent=").append(isUrgent);
        sb.append(", remark=").append(remark);
        sb.append(", taskType=").append(taskType);
        sb.append(", cardControlList=").append(cardControlList);
        sb.append(", cardDataList=").append(cardDataList);
        sb.append(", stockDetail=").append(stockDetail);
        sb.append(", cardDefinition=").append(cardDefinition);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}